<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" title="批量设置品牌" width="50vw" :visible.sync="editVisible"
    :before-close="hideBox" append-to-body @opened="opened">
    <div class="main" v-loading="loading">
        <el-form>

            <LayoutCell>
                <el-form-item label="请选择品牌" v-if="index == 1">
                    <el-select v-model="brand_id" placeholder="请选择" clearable>
                        <el-option v-for="item in brand" :key="item.id" :label="item.name" :value="item.id"></el-option>
                    </el-select>
                </el-form-item>
            </LayoutCell>
        </el-form>

    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="12">
                <el-button @click="onCancel()">取 消</el-button>
                <el-button type="primary" @click="submit()">确定</el-button>
            </el-col>
        </el-row>
    </div>


</el-dialog>